import { createSlice } from "@reduxjs/toolkit"

export const addressSlice = createSlice({
    name: "addressSlice",
    initialState: {
        address: [
            {
                url: "/layout/home",
                name: "首页"
            },
            {
                url: "/layout/list",
                name: "列表"
            },
            {
                url: "/layout/my",
                name: "我的"
            },
            {
                url: "/layout/role",
                name: "创建你的英雄"
            },
            {
                url: "/layout/order",
                name: "订单"
            },
            {
                url: "/layout/chat",
                name: "唠唠嗑"
            },
        ]
    }
})
export default addressSlice.reducer